package cn.b.sky.admin.model;

import org.apache.commons.lang3.StringUtils;

/**
 * 
 * @ClassName: ECode
 * @Description:枚举码实体
 * @author: ZhaoXin
 * @date: 2015-7-27 上午10:32:05
 * @version: V1.0
 * 
 */
public class ECode {

	private String eCodeType;// 枚举码类型

	private String eCode;// 枚举码

	private String eCodeText;// 枚举码描述

	private String eCodeTextTl; // 翻译后的枚举码描述信息

	private long displayOrdinal;// 显示序号

	private int lockFlag;// 锁定标记

	public String geteCodeType() {
		return eCodeType;
	}

	public void seteCodeType(String eCodeType) {
		if(StringUtils.isNotBlank(eCodeType)){
			this.eCodeType = eCodeType.toUpperCase();
		}else{
			this.eCodeType = eCodeType;
		}
	}

	public String geteCode() {
		return eCode;
	}

	public void seteCode(String eCode) {
		if(StringUtils.isNotBlank(eCode)){
			this.eCode = eCode.toUpperCase();
		}else{
			this.eCode = eCode;
		}
	}

	public String geteCodeText() {
		return eCodeText;
	}

	public void seteCodeText(String eCodeText) {
		this.eCodeText = eCodeText;
	}

	public long getDisplayOrdinal() {
		return displayOrdinal;
	}

	public void setDisplayOrdinal(long displayOrdinal) {
		this.displayOrdinal = displayOrdinal;
	}

	public int getLockFlag() {
		return lockFlag;
	}

	public void setLockFlag(int lockFlag) {
		this.lockFlag = lockFlag;
	}

	public String geteCodeTextTl() {
		return eCodeTextTl;
	}

	public void seteCodeTextTl(String eCodeTextTl) {
		this.eCodeTextTl = eCodeTextTl;
	}

}
